cc_test(
  name = "all_test",
  size = "small",
  srcs = ["all_test.cpp"],
  deps = [    # 依赖我自己的库和googletest库
          ":type_traits",
          ":variable_args",
          ":complex_apps",
          "@com_google_googletest//:gtest_main"
     ],
)

cc_library(
    name  = "type_traits",
    srcs  = ['std_type_traits.cpp'],
    hdrs  = ['std_type_traits.h'],
)

cc_library(
    name  = "variable_args",
    srcs  = ['variable_args.cpp'],
    hdrs  = ['variable_args.h'],
)


cc_library(
    name  = "complex_apps",
    srcs  = ['complex_apps.cpp'],
    hdrs  = ['complex_apps.h'],
)
